package com.example.tables.service.impl;

import com.example.tables.bean.TableABean;
import com.example.tables.bean.TableBBean;
import com.example.tables.bean.TableCBean;
import com.example.tables.dao.TableADao;
import com.example.tables.dao.TableCDao;
import com.example.tables.service.TableCService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service(value = "TableCService")
public class TableCServiceImpl implements TableCService {
    @Autowired
    TableCDao tableCDao;


    @Override
    public List<TableCBean> getData(String b) {
        return tableCDao.getData(b);
    }

    @Override
    public List<TableABean> numaainTa() {
        return tableCDao.numaainTa();
    }

    @Override
    public List<TableABean> numbbinTa() {
        return tableCDao.numbbinTa();
    }

    @Override
    public List<TableABean> numccinTa() {
        return tableCDao.numccinTa();
    }


    @Override
    public List<TableBBean> numaRight() {
        return tableCDao.numaRight();
    }

    @Override
    public List<TableBBean> numbRight() {
        return tableCDao.numbRight();
    }

    @Override
    public List<TableBBean> numcRight() {
        return tableCDao.numcRight();
    }

    @Override
    public List<TableBBean> numaainTb() {
        return tableCDao.numaainTb();
    }

    @Override
    public List<TableBBean> numbbinTb() {
        return tableCDao.numbbinTb();
    }

    @Override
    public List<TableBBean> numccinTb() {
        return tableCDao.numccinTb();
    }

    @Override
    public List<TableABean> numeeinTa() {
        return tableCDao.numeeinTa();
    }

    @Override
    public List<TableBBean> numeRight() {
        return tableCDao.numeRight();
    }

    @Override
    public List<TableABean> numddinTa() {
        return tableCDao.numddinTa();
    }

    @Override
    public List<TableBBean> numdRight() {
        return tableCDao.numdRight();
    }

    @Override
    public int calculate(TableCBean tableCBean) {
        return tableCDao.calculate(tableCBean);
    }

    @Override
    public List<TableCBean> getAll() {
        return tableCDao.getAll();
    }
}
